﻿namespace MagicWorld.DDD.Domain.Types
{
    public class Vector
    {
        private readonly long x;
        private readonly long y;
        public long X => x;
        public long Y => y;

        /// <summary>
        /// 移动量
        /// </summary>
        public Vector(long x, long y)
        {
            this.x = x;
            this.y = y;
        }

        public static Vector ZERO => new Vector(0, 0);
    }
}